import { lazy } from 'react'
const router = [
    {
        path: "/",
        redirect: "/home"
    }, {
        path: "/home",
        element: lazy(() => import("../pages/Home")),
    }, {
        path: "/home/index",
        element: lazy(() => import("../pages/home/index"))
    },{
        path:"/home/my",
        element:lazy(()=>import('../pages/home/My'))
    }
]

export default router